Platform Explorer / Nuxeo Platform 2023.10

Component org.nuxeo.ecm.platform.audit.user.contrib

Documentation

Contribute the search event to the Audit configuration : this is only safe to do so when the ES backend if used for Audit

Resolution Order

292
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<component name="org.nuxeo.ecm.platform.audit.user.contrib" version="1.0">

  <documentation>Contribute the search event to the Audit configuration :
    this is
    only safe to do so when the ES backend if used for Audit
  </documentation>

  <extension target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService"
    point="event">
    <event name="user_created">
      <extendedInfos>
        <extendedInfo expression="${message.properties.id}" key="id" />
      </extendedInfos>
    </event>
    <event name="user_deleted">
      <extendedInfos>
        <extendedInfo expression="${message.properties.id}" key="id" />
      </extendedInfos>
    </event>
    <event name="user_modified">
      <extendedInfos>
        <extendedInfo expression="${message.properties.id}" key="id" />
      </extendedInfos>
    </event>
    <event name="group_created">
      <extendedInfos>
        <extendedInfo expression="${message.properties.id}" key="id" />
      </extendedInfos>
    </event>
    <event name="group_deleted">
      <extendedInfos>
        <extendedInfo expression="${message.properties.id}" key="id" />
      </extendedInfos>
    </event>
    <event name="group_modified">
      <extendedInfos>
        <extendedInfo expression="${message.properties.id}" key="id" />
      </extendedInfos>
    </event>
    <event name="retentionActiveChanged">
      <extendedInfos>
        <extendedInfo expression="${message.properties.retentionActive}" key="retentionActive" />
      </extendedInfos>
    </event>
    <event name="blobDigestUpdated">
      <extendedInfos>
        <extendedInfo expression="${message.properties.oldKey}" key="oldKey" />
        <extendedInfo expression="${message.properties.oldDigest}" key="oldDigest" />
        <extendedInfo expression="${message.properties.newKey}" key="newKey" />
        <extendedInfo expression="${message.properties.newDigest}" key="newDigest" />
      </extendedInfos>
    </event>
  </extension>

</component>